/*
 * Copyright 2017-2101 Innel.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hykj.xxltest.model;

        import com.hykj.xxltest.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;



/**
 * 
 *
 * @author innel
 * @email 2638086622@qq.com
 * @date 2018-06-26 15:50:31
 */
@ApiModel(description = "")
public class GoodsModel extends BaseModel {

	        /**
         * id
         */
        @ApiModelProperty(value = "id")
        private Integer id;
	        /**
         * createTime
         */
        @ApiModelProperty(value = "createTime")
        private Date createTime;
	        /**
         * 标题
         */
        @ApiModelProperty(value = "标题")
        private String title;
	        /**
         * 小标题
         */
        @ApiModelProperty(value = "小标题")
        private String title2;
	        /**
         * 1保税区 2大贸商品
         */
        @ApiModelProperty(value = "1保税区 2大贸商品")
        private Integer goodsType;
	        /**
         * sku
         */
        @ApiModelProperty(value = "sku")
        private String sku;
	        /**
         * 标签 例如正品保障，海外直供
         */
        @ApiModelProperty(value = "标签 例如正品保障，海外直供")
        private String tag;
	        /**
         * 税费
         */
        @ApiModelProperty(value = "税费")
        private BigDecimal taxPrice;
	        /**
         * 原价
         */
        @ApiModelProperty(value = "原价")
        private BigDecimal originalPrice;
	        /**
         * 0正常 -1下架 
         */
        @ApiModelProperty(value = "0正常 -1下架 ")
        private Integer status;
	        /**
         * 商品详情 富文本
         */
        @ApiModelProperty(value = "商品详情 富文本")
        private String detail;
	        /**
         * 内容轮播图 ,分割
         */
        @ApiModelProperty(value = "内容轮播图 ,分割")
        private String contentPhoto;
	        /**
         * 总销量
         */
        @ApiModelProperty(value = "总销量")
        private Integer saleNum;
	        /**
         * 封面图
         */
        @ApiModelProperty(value = "封面图")
        private String facePhoto;
	        /**
         * 库存
         */
        @ApiModelProperty(value = "库存")
        private Integer kucun;
	        /**
         * 商品规矩json串 例如 [{name:"品牌",value:"雕牌"}]
         */
        @ApiModelProperty(value = "商品规矩json串 例如 [{name:\"品牌\",value:\"雕牌\"}]")
        private String attrJson;
	        /**
         * 参与活动的ID
         */
        @ApiModelProperty(value = "参与活动的ID")
        private Integer eventId;
	        /**
         * 所属二级分类的ID
         */
        @ApiModelProperty(value = "所属二级分类的ID")
        private String classId;

        private String[] photoList;

        private String className;
        private BigDecimal price;
	    public  void setPrice(BigDecimal price){this.price = price;}
	    public  BigDecimal  getPrice(){return price;}
	        /**
         * 设置：id
         */
        public void setId(Integer id) {
            this.id = id;
        }
        /**
         * 获取：id
         */
        public Integer getId() {
            return id;
        }
	        /**
         * 设置：createTime
         */
        public void setCreateTime(Date createTime) {
            this.createTime = createTime;
        }
        /**
         * 获取：createTime
         */
        public Date getCreateTime() {
            return createTime;
        }
	        /**
         * 设置：标题
         */
        public void setTitle(String title) {
            this.title = title;
        }
        /**
         * 获取：标题
         */
        public String getTitle() {
            return title;
        }
	        /**
         * 设置：小标题
         */
        public void setTitle2(String title2) {
            this.title2 = title2;
        }
        /**
         * 获取：小标题
         */
        public String getTitle2() {
            return title2;
        }
	        /**
         * 设置：1保税区 2大贸商品
         */
        public void setGoodsType(Integer goodsType) {
            this.goodsType = goodsType;
        }
        /**
         * 获取：1保税区 2大贸商品
         */
        public Integer getGoodsType() {
            return goodsType;
        }
	        /**
         * 设置：sku
         */
        public void setSku(String sku) {
            this.sku = sku;
        }
        /**
         * 获取：sku
         */
        public String getSku() {
            return sku;
        }
	        /**
         * 设置：标签 例如正品保障，海外直供
         */
        public void setTag(String tag) {
            this.tag = tag;
        }
        /**
         * 获取：标签 例如正品保障，海外直供
         */
        public String getTag() {
            return tag;
        }
	        /**
         * 设置：税费
         */
        public void setTaxPrice(BigDecimal taxPrice) {
            this.taxPrice = taxPrice;
        }
        /**
         * 获取：税费
         */
        public BigDecimal getTaxPrice() {
            return taxPrice;
        }
	        /**
         * 设置：原价
         */
        public void setOriginalPrice(BigDecimal originalPrice) {
            this.originalPrice = originalPrice;
        }
        /**
         * 获取：原价
         */
        public BigDecimal getOriginalPrice() {
            return originalPrice;
        }
	        /**
         * 设置：0正常 -1下架 
         */
        public void setStatus(Integer status) {
            this.status = status;
        }
        /**
         * 获取：0正常 -1下架 
         */
        public Integer getStatus() {
            return status;
        }
	        /**
         * 设置：商品详情 富文本
         */
        public void setDetail(String detail) {
            this.detail = detail;
        }
        /**
         * 获取：商品详情 富文本
         */
        public String getDetail() {
            return detail;
        }
	        /**
         * 设置：内容轮播图 ,分割
         */
        public void setContentPhoto(String contentPhoto) {
            this.contentPhoto = contentPhoto;
        }
        /**
         * 获取：内容轮播图 ,分割
         */
        public String getContentPhoto() {
            return contentPhoto;
        }
	        /**
         * 设置：总销量
         */
        public void setSaleNum(Integer saleNum) {
            this.saleNum = saleNum;
        }
        /**
         * 获取：总销量
         */
        public Integer getSaleNum() {
            return saleNum;
        }
	        /**
         * 设置：封面图
         */
        public void setFacePhoto(String facePhoto) {
            this.facePhoto = facePhoto;
        }
        /**
         * 获取：封面图
         */
        public String getFacePhoto() {
            return facePhoto;
        }
	        /**
         * 设置：库存
         */
        public void setKucun(Integer kucun) {
            this.kucun = kucun;
        }
        /**
         * 获取：库存
         */
        public Integer getKucun() {
            return kucun;
        }
	        /**
         * 设置：商品规矩json串 例如 [{name:"品牌",value:"雕牌"}]
         */
        public void setAttrJson(String attrJson) {
            this.attrJson = attrJson;
        }
        /**
         * 获取：商品规矩json串 例如 [{name:"品牌",value:"雕牌"}]
         */
        public String getAttrJson() {
            return attrJson;
        }
	        /**
         * 设置：参与活动的ID
         */
        public void setEventId(Integer eventId) {
            this.eventId = eventId;
        }
        /**
         * 获取：参与活动的ID
         */
        public Integer getEventId() {
            return eventId;
        }
	        /**
         * 设置：所属二级分类的ID
         */
        public void setClassId(String classId) {
            this.classId = classId;
        }
        /**
         * 获取：所属二级分类的ID
         */
        public String getClassId() {
            return classId;
        }

    public String[] getPhotoList() {
        return photoList;
    }

    public void setPhotoList(String[] photoList) {
        this.photoList = photoList;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
}
